<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
        * {
            margin: 0;
            padding: 0;
        }
        .title {
            width: 1364px;
            height: 50px;
            background-color: darkgray;
            border: 1px darkslategray solid ;
            overflow: hidden;
        }
        .p_class {
            width: 400px;
            margin-top: 20px;
            margin-left: 1150px;
        }
        .p_class>span:hover {
            color: green;

        }
        .p_class>span {
            margin-left: 7px;
            float: left;
        }
        .left_box {
            width: 150px;
            background: green;
            height: 1100px ;
            float: left;
        }
        .box {
            width: 200px;
            height: 50px;
            float: left;
            margin-top: 10px;
            font-size: large;
            margin-left: 150px;
        }
        .left_box ul {
            text-align: center;
            line-height: 70px;
            font-weight: 700;

        }
        a {
            text-decoration: none;
            color: black;
        }
        a:hover {
            color: wheat;
        }
        .all_book {
            margin-top: 100px;
            width: 800px;
            float: left;
            margin-left: 200px;
        }
        table {
            border: 1px;
        }
        table td {
            height: 30px;
            width: 150px
        }
    </style>
</head>
<body>
<div class="title">
    <div class="box"> 中公教育图书馆</div>
    <p class="p_class">
        <span>登录</span>
        <span>注册</span>
        <span>个人中心</span>
        <span>详情</span>
    </p>
</div>
<div class="left_box">
    <ul>
        <li><a href="/">所有课本</a></li>
        <li><a href="/xs/">小说</a></li>
        <li><a href="/th/">童话</a></li>
        <li><a href="/zz/">杂志</a></li>
        <li><a href="/mh/" style="color: greenyellow">漫画</a></li>
        <li><a href="/jfgj/">教辅工具</a></li>
    </ul>
</div>
<div class="all_book">
    <table border="1px" cellspacing="0">
        <tr style="background-color: greenyellow">
            <td>类型</td>
            <td>书名</td>
            <td>作者</td>
            <td>发布日期</td>
            <td>出版社</td>
            <td>顾客评价</td>
        </tr>
        {% for book in book_lisk %}
        <tr>
            <td>{{book.type}}</td>
            <td>{{book.book_name}}</td>
            <td>{{book.author}}</td>
            <td>{{book.pub_time}}</td>
            <td>{{book.pub_address}}</td>
            <td>{{book.comment}}</td>
        </tr>
        {% endfor %}
    </table>
</div>
</body>
</html>